@use "@/styles/variable.module.scss" as variable;
@use 'sass:map';

@function getCssVarName($args...){
  $name: '--' + variable.$namespace;
  @each $item in $args {
    $name: $name + '-' + $item;
  }
  @return $name;
}

@function getCssVarValue($args...){
  @return var(#{getCssVarName($args...)});
}